package com.nana.block.domain.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 第三方登录
 * </p>
 *
 * @author mars
 * @since 2023-08-04
 */
@Getter
@Setter
@TableName("t_block_third_account")
@ApiModel(value = "TBlockThirdAccount对象", description = "第三方登录")
public class BlockThirdAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("第三方系统账号id")
    private String uuid;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("用户名")
    private String nikename;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("注册来源（1-平台，2-微信）")
    private Integer accountSource;

    @ApiModelProperty("性别")
    private Integer gender;

    private Date birthday;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("电话")
    private String phone;

    private Date createTime;

    private Date updateTime;


}
